package com.wingsfrog.puzzle.controller.dto.response;

public class RecordDto {
    private Integer step;
    private Integer time; // 0 -> 8 表示其中某一个数字应该为空
    private String avatar; // 当前玩家的头像
    private String nickname; // 当前玩家的昵称

    public RecordDto(String avatar, String nickname, Integer step, Integer time) {
        this.step = step;
        this.time = time;
        this.avatar = avatar;
        this.nickname = nickname;
    }

    public Integer getStep() {
        return step;
    }

    public void setStep(Integer step) {
        this.step = step;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("RecordDto{");
        sb.append("step=").append(step);
        sb.append(", time=").append(time);
        sb.append(", avatar='").append(avatar).append('\'');
        sb.append(", nickname='").append(nickname).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
